The Object translator is a bridge for reading java objects from external sources (i.e., Infinispan Cache or Map cache) and delivering them to the engine for processing. And to assist in providing that bridge, the OBJECTTABLE function can be used to transform complex java objects into rows and columns.
The following are the translator types and their respective supported data source:
-
infinispan-cache - supports Infinispan cache and using either Key searching (for non-annotated objects) or Hibernate/Lucene searching
-
map-cache - supports a local cache that is of type Map and using Key searching
Execution Properties - infinispan-cache
Name
|
Description
|
Required
|
Default
|
SupportsLuceneSearching
|
Setting to true assumes your objects are annotated and Hibernate/Lucene will be used to search the cache
|
N
|
false
|
Supported Capabilities
The following are the connector capabilities when Key Searching is used:
The following are the connector capabilities when Hibernate/Lucene Searching is enabled:
-
SELECT command
-
CompareCriteria - EQ, NE, LT, GT, etc.
-
And/Or Criteria
-
In Criteria
-
Like Criterai
-
Or Criteria
-
INSERT, UPDATE, DELETE
JCA Resource Adapter
See the Infinispan resource adapter for this translator. It can be configured to lookup the cache container via JNDI or created (i.e., ConfigurationFileName or RemoteServerList).